

# f = open('d:/My Computer/text.txt','r')
# print(f)
# print(type(f))
#
# f.close()
# print(f)


# 文件打开的上限
first = []
count = 0
while True:
    f = open('d:/My Computer/text.txt')
    first.append(f)
    count += 1
    print(f'打开文件的个数：{count}')